import { createApp } from 'vue' // 安装unplugin-auto-import 可注释
import './style.css'
import App from './App.vue'
import * as ElIcons from '@element-plus/icons-vue' //element plus图标
import store from './store/index'
import router from "./router/index" // 引入router
import DataVVue3 from '@kjgl77/datav-vue3'
import svgIcon from '@/components/svgIcon.vue'
import Particles from "vue3-particles";
declare module "vue3-particles";
const app = createApp(App)
for (const name in ElIcons) {
    app.component(name, (ElIcons as any)[name]);
  }
app.use(store).use(router).use(DataVVue3).component('svg-icon', svgIcon).use(Particles).mount('#app')